<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8" isELIgnored="false"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="chtml" uri="http://www.szhelper.com/jsp/html"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-CN" lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>会员等级列表</title>
<script type="text/javascript">
function removal(){
	$('select[name=userLevel]').val('');
	$('select[name=levelType]').val('');
}

</script>
</head>
<body>
<div class="youarehere">会员等级管理&gt; <span>会员等级列表</span></div>
<div id="content">
<form action='<chtml:path path="/" />userLevelSet/list' method="post" id="userLevelTypeForm">
<table width="99%" align="center" border="0" cellpadding="1"
	cellspacing="1" class="data_table">
	<tr>
		<td class="data_tab_th" colspan="4"></td>
	</tr>
	<tr>
	<td class="data_tab_tdr">用户等级</td>
		<td class="data_tab_tdl">
		<chtml:enum name="userLevel" defaultOption="--全部--" defaultValue="" type="com.hengpeng.itfinbase.en.UserLevel" textProperty="text" selected="${userLevel}"/>
		</td>
	<td class="data_tab_tdr">等级类型</td>
		<td class="data_tab_tdl">
		<chtml:enum name="levelType" defaultOption="--全部--" defaultValue="" type="com.hengpeng.itfinbase.en.LevelType" textProperty="text" selected="${levelType}"/>
		</td>	
	</tr>
	<tr>
		<td align="center" colspan="4" class="bg_bai">		
		<div class="mr_20 t_c">
		<input type="submit" class="pub_bt" value="查询"/>
		<input type="button" class="pub_bt" value="重置" onclick="removal();" />
		</div>
		
	    </td>
	</tr>
</table>
<br />
<!-- 自定义标签示例 --> 
<chtml:list collection="userLevelSetList"
	type="com.hengpeng.itfinbase.persist.UserLevelSet"  
	includeFields="userLevel,levelType,conditionVal,createTime,updateTime"
    showCheckBox="false" title="会员等级列表" createLink="userLevelSet/create?_method=get" paginationName="userLevelSetListPage" detailLink="detail/@{id}" updateLink="load/@{id}" linkTarget="_self" showLinkField="borrowName" >
</chtml:list></form>
</div>
</body>
</html>
